package com.dt76.smallloanfrontendservice.controller.xiaohao;

import com.dt76.smallloanfrontendservice.pojo.xiaohao.Information;
import com.dt76.smallloanfrontendservice.service.xiaohao.InformationService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.List;

@Controller
public class InformationController {
    @Resource
    private InformationService informationService;

    @RequestMapping("/Information/qryAll")
    @ResponseBody
    public List<Information> qryAll() {
        return informationService.qyrAll();
    }
}
